package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;

public class TravelLog implements Serializable {
    private Integer id;



    /**
	* 申请表id
	*/
    private TravelApplication travelApplication;

    /**
	* 出差人员id
	*/
    private Staff staff;

    /**
	* 0是草稿箱，1是提交
	*/
    private Boolean commit;

    /**
	* 时间
	*/
    private Date time;

    /**
	* 内容
	*/
    private String content;

    /**
	* 修改人
	*/
    private Integer updateStaffId;

    /**
	* 修改时间
	*/
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public Boolean getCommit() {
        return commit;
    }

    public TravelApplication getTravelApplication() {
        return travelApplication;
    }

    public void setTravelApplication(TravelApplication travelApplication) {
        this.travelApplication = travelApplication;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setCommit(Boolean commit) {
        this.commit = commit;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);

        sb.append(", commit=").append(commit);
        sb.append(", time=").append(time);
        sb.append(", content=").append(content);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}